package com.csw.searchRecSys.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import com.csw.searchRecSys.entity.Poem;

//使用自定义接口继承ElasticsearchRepository  泛型:当前操作对象类型  泛型:对象中主键类型
@Mapper
public interface PoemRepository extends ElasticsearchRepository<Poem, String> {

}
